package com.yp.studentsys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yp
 * @since 2022-04-01
 */
public class RcTeacher extends Model<RcTeacher> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "teacher_id", type = IdType.AUTO)
    private Integer teacherId;

    private Integer teacherDepartmentId;

    private String teacherNumber;

    private String teacherName;

    private String teacherPassword;

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }
    public Integer getTeacherDepartmentId() {
        return teacherDepartmentId;
    }

    public void setTeacherDepartmentId(Integer teacherDepartmentId) {
        this.teacherDepartmentId = teacherDepartmentId;
    }
    public String getTeacherNumber() {
        return teacherNumber;
    }

    public void setTeacherNumber(String teacherNumber) {
        this.teacherNumber = teacherNumber;
    }
    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }
    public String getTeacherPassword() {
        return teacherPassword;
    }

    public void setTeacherPassword(String teacherPassword) {
        this.teacherPassword = teacherPassword;
    }

    @Override
    protected Serializable pkVal() {
        return this.teacherId;
    }

    @Override
    public String toString() {
        return "RcTeacher{" +
            "teacherId=" + teacherId +
            ", teacherDepartmentId=" + teacherDepartmentId +
            ", teacherNumber=" + teacherNumber +
            ", teacherName=" + teacherName +
            ", teacherPassword=" + teacherPassword +
        "}";
    }
}
